package jmine.tec.web.front;

import static bancosys.tec.utils.db.descriptor.FlatReferenceDatabaseBuilder.ReferenceDatabaseDescriptionType.POSTSCRIPT;
import jmine.tec.web.front.sample.SampleFormTypeInformation;
import jmine.tec.web.pages.app.MockApplicationStarter;

/**
 * Inicia a aplicação de testes do jMine-Tec.
 * 
 * @author lundberg
 */
public class StartTecWebFront {

    public static void main(String[] args) {
        MockApplicationStarter starter = new MockApplicationStarter();
        starter.prepareEnvironment("jmine-tec-web-front-test.xml", "jmine-tec-web-front-test-db.xml", POSTSCRIPT);
        starter.initializeData(new Runnable() {
            public void run() {
                SampleFormTypeInformation.prepare();
            }
        });
        starter.startJetty();
    }
}
